//
// Parse.hpp for  in /home/goldbe_y//cpp/Maths/206observ
//
// Made by yoni goldberg
// Login   <goldbe_y@epitech.net>
//
// Started on  Mon May  2 15:04:14 2011 yoni goldberg
// Last update Mon Oct 22 17:18:12 2012 yoni goldberg
//

#ifndef __PARSE_H__
# define __PARSE_H__

#include <vector>
#include <fstream>
#include <string>
#include <iostream>

class Parse
{
public:
  Parse(const std::string &);
  ~Parse();

  int	get_dim() const;
  float	**get_mat() const;
  float	*get_vecteur() const;

private:
  std::vector<std::string>	_tab;
  int				_dim;
  float				**_matrix;
  float				*_vecteur;

private:
  std::string			epur(std::string);
  void				fill_matrix();
  int				*get_from_line(std::string);
};


#endif /* !__PARSE_H__ */
